home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / gnat1792.zip / gnat179b / t-adainc / get_errn.c < prev    next >
C/C++ Source or Header  |  1994-05-19  |  2KB  |  45 lines

  1. /****************************************************************************
  2.  *                                                                          *
  3.  *                 GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS               *
  4.  *                                                                          *
  5.  *                            g e t _ e r r n o                             *
  6.  *                                                                          *
  7.  *                          C   G e n e r a t e d                           *
  8.  *                                                                          *
  9.  *                             $Revision: 1.1 $                            *
  10.  *                                                                          *
  11.  *           Copyright (c) 1991,1992,1993, FSU, All Rights Reserved         *
  12.  *                                                                          *
  13.  *  GNARL is free software; you can redistribute it and/or modify it  under *
  14.  *  terms  of  the  GNU  Library General Public License as published by the *
  15.  *  Free Software Foundation; either version 2, or  (at  your  option)  any *
  16.  *  later  version.   GNARL is distributed in the hope that it will be use- *
  17.  *  ful, but but WITHOUT ANY WARRANTY; without even the implied warranty of *
  18.  *  MERCHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Gen- *
  19.  *  eral Library Public License for more details.  You should have received *
  20.  *  a  copy of the GNU Library General Public License along with GNARL; see *
  21.  *  file COPYING. If not, write to the Free Software Foundation,  675  Mass *
  22.  *  Ave, Cambridge, MA 02139, USA.                                          *
  23.  *                                                 *
  24.  ****************************************************************************
  25.  */
  26. #include <errno.h>
  27. int get_errno()
  28.  {
  29.     return errno;
  30.  }
  31.  
  32. #if 0
  33. ----------------------
  34. -- REVISION HISTORY --
  35. ----------------------
  36.  
  37. ----------------------------
  38. revision 1.1
  39. date: 1994/05/04 00:41:40;  author: giering;  state: Exp;
  40. Initial revision
  41. ---------------------------------
  42. ** New changes after this line and before endif. **
  43. Added GNARL header.
  44. #endif
  45.